#!/bin/bash
# Copyright (c) 2022 Unionman Co., Ltd.
#
# ALL RIGHTS RESERVED
#
# Compile media/hal project, this is the entrance script

# error out on errors

set -e
OUT_DIR="$1"

function main(){
    CUR_DIR=$(cd $(dirname "$0");pwd)

    mkdir -p $OUT_DIR/

    cp -rf $CUR_DIR/rtl8723du/modules/8723du.ko $OUT_DIR/
}

main "$@"
